export default {
  url: "/do/select/export_task",
  conditionLimit:null,
  selectable: false,
  showIndex: false,
  compact: 220,
  path: 'exportTask/task',
  title: "导出任务",
	tabs: {"code":"exportTaskStatus","list":[],"keyword":"status"},
  entitys: [{"name":"id","label":"编号","type":"search"},{"name":"creator","label":"创建人","type":"user"},{"name":"createGmt","label":"创建时间","type":"date"},{"name":"updateGmt","label":"更新时间","type":"date"},{"name":"tab","label":"标签","code":"exportTask"},{"name":"condition","label":"搜索条件","type":"map"},{"name":"path","label":"文件地址"},{"name":"companyId","label":"企业","type":"search","depend":"company"},{"name":"title","label":"文件名"},{"name":"status","label":"任务状态","code":"exportTaskStatus"}],
  columns: ["title","creator","tab","status","path","updateGmt"],
  condition: ["tab"],
  slots: {
    action$({ row }) {
      return (
        <>
          <z-action p='1w4a2lx7' label={row.status == 6?'下载':null} mode='confirm' cb='upload' link data={row} url='/api/contract/upload' />
<z-action p='mryjd22b' label='删除' mode='confirm' link data={row} url='/do/delete/export_task' />
        </>
      )
    }
  }
}
  